﻿// -------------------------------------------------------------------------
//    @FileName         :    NFSnsRoleDetailService.h
//    @Author           :    gaoyi
//    @Date             :    2025-03-27
//    @Email			:    445267987@qq.com
//    @Module           :    NFSnsRoleDetailService
//
// -------------------------------------------------------------------------

#pragma once

#include "NFComm/NFCore/NFPlatform.h"

namespace proto_ff
{
    class tbSnsRoleDetail;
}

class NFSnsRoleDetail;

class NFSnsRoleDetailService
{
public:
    static NFSnsRoleDetail* GetRoleDetail(uint64_t ullRoleId);
    static NFSnsRoleDetail* AddRoleDetail(uint64_t ullRoleId, const proto_ff::tbSnsRoleDetail* pDbData);
    static int RemoveRoleDetail(uint64_t ullRoleId);
    static int RemoveRoleDetail(NFSnsRoleDetail* pRoleDetail);
    static int Tick();
    static int LoginRole(NFSnsRoleDetail* pRoleDetail, bool isResume);
};
